package com.hnx.admin.aurora.security.core;

import com.hnx.admin.aurora.security.api.SecurityAPI;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
创建人： 倔强的头发
创建时间：2025/6/14
功能描述:

*/
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = SecurityProperties.PREFIX)
public class SecurityProperties implements SecurityAPI {
    // 允许访问的开放API列表
    private String[] openApi = {};
    //其它允许开放的API列表，请求方式为GET
    private String[] getApi = {};
    private String originPattern = STAR;
    private String allowMethod = STAR;
    private String allowHeader = STAR;
    private String registerCors = REGISTER_CORS;
    private Integer maxRetryCount = 5;
    private Integer lockTime = 10;

}
